package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 布控信息对象 tbl_control
 * 
 * @author zbb
 * @date 2023-02-13
 */
public class Control extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜单ID */
    private Long controlId;

    /** 车牌号码 */
    @Excel(name = "车牌号码")
    private String carNum;

    /** 号牌种类 */
    @Excel(name = "号牌种类")
    private String carNumType;

    /** 布控单号 */
    @Excel(name = "布控单号")
    private String controlNum;

    /** 布控类型 */
    @Excel(name = "布控类型")
    private String controlType;

    /** 有效期止 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期止", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validUntil;

    /** 有效期开始 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期开始", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validStart;

    /** 布控人 */
    @Excel(name = "布控人")
    private String controlOwner;

    /** 布控单位 */
    @Excel(name = "布控单位")
    private String controlOrg;

    /** 移动电话 */
    @Excel(name = "移动电话")
    private String tels;

    /** 有效状态 */
    @Excel(name = "有效状态")
    private String isState;

    /** 是否跨市布控 */
    @Excel(name = "是否跨市布控")
    private String isShi;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String shenState;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date controlDate;

    /** 布控区域 */
    @Excel(name = "布控区域")
    private String controlRegion;

    public void setControlId(Long controlId) 
    {
        this.controlId = controlId;
    }

    public Long getControlId() 
    {
        return controlId;
    }
    public void setCarNum(String carNum) 
    {
        this.carNum = carNum;
    }

    public String getCarNum() 
    {
        return carNum;
    }
    public void setCarNumType(String carNumType) 
    {
        this.carNumType = carNumType;
    }

    public String getCarNumType() 
    {
        return carNumType;
    }
    public void setControlNum(String controlNum) 
    {
        this.controlNum = controlNum;
    }

    public String getControlNum() 
    {
        return controlNum;
    }
    public void setControlType(String controlType) 
    {
        this.controlType = controlType;
    }

    public String getControlType() 
    {
        return controlType;
    }
    public void setValidUntil(Date validUntil) 
    {
        this.validUntil = validUntil;
    }

    public Date getValidUntil() 
    {
        return validUntil;
    }
    public void setValidStart(Date validStart) 
    {
        this.validStart = validStart;
    }

    public Date getValidStart() 
    {
        return validStart;
    }
    public void setControlOwner(String controlOwner) 
    {
        this.controlOwner = controlOwner;
    }

    public String getControlOwner() 
    {
        return controlOwner;
    }
    public void setControlOrg(String controlOrg) 
    {
        this.controlOrg = controlOrg;
    }

    public String getControlOrg() 
    {
        return controlOrg;
    }
    public void setTels(String tels) 
    {
        this.tels = tels;
    }

    public String getTels() 
    {
        return tels;
    }
    public void setIsState(String isState) 
    {
        this.isState = isState;
    }

    public String getIsState() 
    {
        return isState;
    }
    public void setIsShi(String isShi) 
    {
        this.isShi = isShi;
    }

    public String getIsShi() 
    {
        return isShi;
    }
    public void setShenState(String shenState) 
    {
        this.shenState = shenState;
    }

    public String getShenState() 
    {
        return shenState;
    }
    public void setControlDate(Date controlDate) 
    {
        this.controlDate = controlDate;
    }

    public Date getControlDate() 
    {
        return controlDate;
    }
    public void setControlRegion(String controlRegion) 
    {
        this.controlRegion = controlRegion;
    }

    public String getControlRegion() 
    {
        return controlRegion;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("controlId", getControlId())
            .append("carNum", getCarNum())
            .append("carNumType", getCarNumType())
            .append("controlNum", getControlNum())
            .append("controlType", getControlType())
            .append("validUntil", getValidUntil())
            .append("validStart", getValidStart())
            .append("controlOwner", getControlOwner())
            .append("controlOrg", getControlOrg())
            .append("tels", getTels())
            .append("remark", getRemark())
            .append("isState", getIsState())
            .append("isShi", getIsShi())
            .append("shenState", getShenState())
            .append("controlDate", getControlDate())
            .append("controlRegion", getControlRegion())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
